package ch.fusun.baron.coatofarms.ui;

/**
 * Possiblec colors for a coat of arms (look it up, it's Heraldics!)
 */
public enum COAColor {
	/**
	 * The gold color
	 */
	OR {
		@Override
		public short[] getColorRGB() {

			return new short[] { 255, 228, 0 };
		}
	},
	/**
	 * The silver color
	 */
	ARGENT {
		@Override
		public short[] getColorRGB() {
			return new short[] { 255, 255, 255 };
		}
	},
	/**
	 * Blue
	 */
	AZURE {
		@Override
		public short[] getColorRGB() {
			return new short[] { 0, 0, 255 };
		}
	},
	/**
	 * Braun
	 */
	GULES {
		@Override
		public short[] getColorRGB() {
			return new short[] { 255, 0, 0 };
		}
	},
	/**
	 * Red/Purple
	 */
	PURPURE {
		@Override
		public short[] getColorRGB() {
			return new short[] { 178, 37, 133 };
		}
	},
	/**
	 * Black
	 */
	SABLE {
		@Override
		public short[] getColorRGB() {
			return new short[] { 0, 0, 0 };
		}
	},
	/**
	 * Green
	 */
	VERT

	{
		@Override
		public short[] getColorRGB() {
			return new short[] { 0, 146, 0 };
		}
	};
	/**
	 * @return an array of three elements containing red, green and blue values
	 *         [0-255]
	 */
	public abstract short[] getColorRGB();
}